#include "my_qlineedit.h"

MyQTextEdit::MyQTextEdit(QWidget *parent) :QLineEdit(parent)
{

}
void MyQTextEdit::focusInEvent(QFocusEvent *e)
{
    QLineEdit::focusInEvent(e);
    emit focusIn();
    return;
}

void MyQTextEdit::focusOutEvent(QFocusEvent *e)
{
    QLineEdit::focusOutEvent(e);
    emit focusOut();
    return;
}

void MyQTextEdit::showEvent(QShowEvent *event)
{
    setEnabled(true);
    QLineEdit::showEvent(event);
    return;
}
